<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>产品管理系统</title>
	</head>
	<link rel="shortcut icon" href="img/favicon.ico"/>
	<link rel="stylesheet" href="css/bootstrap/bootstrap.min.css" />
	<link rel="stylesheet" href="css/bootstrap/bootstrap-addtabs.css" />
	<link rel="stylesheet" href="css/common.css" />
	<link rel="stylesheet" href="css/frame.css" />
	<style>
		#main{
			background:#484848;
		}
		header{
			background:#02b2ee;
		}
		header .headUlli_line {
			background:#44c9f2;
		}
		header .popular{
			margin-top:20px;
		}
		#main .LevelMenu_1 .LevelMenu_1_Ul{
			color:white;
		}
		#main .LevelMenu_1 .LevelMenu_1_Ul li{
			background:#5c5a5b;
			border-bottom:1px solid #494748;
		}
		.f00aa99{
			background-color:#00aa99;
		}
		header .headUl .headUlli_text{
			width:270px;
		}
		header .headUl .headUlli_block{
			width:580px;
		}
	</style>
	<body>
		<div id='centerBody'>
			<header>
				<ul class='headUl'>
					<li class='headUlli_logo'><img src="img/frame/logo_product.jpg"/></li>
					<li class='headUlli_line'></li>
					<li class='headUlli_text'> 虚拟航空公司产品管理系统</li>
					<li class='headUlli_block'></li>
					<li class='headUlli_mess'><!-- <span class='userPic'></span> --><span class='popular'>欢迎 ,&nbsp;<span class='user'>${session.name}</span></span>	
					</li>
					<li class='headUlli_line'></li>					
					<li class='headUlli_exit'><a href="javascript:void(0)" class="logout">退出 </a><span class='iconfont logoutIcon'>&#xe6a3;</span></li>					
				</ul>
			</header>
			<div id='main'>
				<div class='LevelMenu_1'>
				<div class="topbar admin-header">
					<div class="topbar-collapse">					
						<ul class='LevelMenu_1_Ul' role="group" aria-label="...">
							
						</ul>
					</div>
				</div>					
				</div>	
				<div class='main_right'>																					
					<div class='line'></div>
					<div style='height:14px'></div>
					<div class='content'>
						<div style='padding-left:14px;' id="tabs">
				        <!-- Nav tabs -->
			<!-- 	   <ul class="nav nav-tabs" role="tablist">
				        	<span class='backAndReflesh'>
						          <span class='reflash iconfont'>&#xe600;</span> 
						    </span> 
				            <li role="presentation" class="active">
				                <a href="#home" aria-controls="home" role="tab" data-toggle="tab">Home</a>
				            </li>
				           
				            
				        </ul>-->
				        <!-- Tab panes -->
				        <div class="tab-content">
				            <div role="tabpanel" class="tab-pane active" id="home">
				              	<div class='Home'>
				              		<div class='home_'>
				              			<div class='home_1'></div>
				              		</div>				              		
				              	</div>
				            </div>
				            
				        </div>

    					</div>
					</div>
				</div>	
				
					
		</div>
		
		
		<script type="text/javascript" src="js/jquery-1.12.4.js" ></script>
		<script type="text/javascript" src="js/bootstrap/bootstrap.min.js" ></script>
		<script type="text/javascript" src="js/bootstrap/bootstrap-addtabs.js" ></script>
		<script type="text/javascript" src="layer-v2.4/layer/layer.js" ></script>
		<script type="text/javascript" src="js/common.js" ></script>
		
    	
		<script> 
			//刷新页面
			$(".reflash").bind('click',function(){
				var url = $("li[class=active]").attr('aria-url');
				var id = $("li[class=active]").attr("id").substring(8);
				Addtabs.add({'id':id,'url':url});
		        $('#popMenu').fadeOut();
			})
			//权限管理
			var innerHtml = "";
			
			/*<#if resList?seq_contains("inventory")>
				var invStr = "<li name='inventory' class='li'><span class='iconfont'>&#xe60b;</span><br/>产品管理<div class='menu_'><ul>";
				<#if resList?seq_contains("ak/productList.html")>
					invStr+= "<li data-addtab='5' url='ak/productList.html'>产品管理</li>"
				</#if>
				invStr += "</ul></div></li>";
				innerHtml +=invStr;
			</#if>*/
			<#if resList?seq_contains("inventory")>
			var invStr = "<li data-addtab='5' url='ak/productList.html' name='inventory' class='li'><span class='iconfont'>&#xe60b;</span><br/>产品管理</li>";
			innerHtml +=invStr;
			</#if>
			
			<#if resList?seq_contains("flight")>
			var flightStr = "<li name='flight' data-addtab='2' url='ak/flightMessage.html' class='li'><span class='iconfont'>&#xe616;</span><br/>航班信息";
			flightStr += "</li>";
			innerHtml +=flightStr;
			</#if>
			
			
			<#if resList?seq_contains("price")>
				var priceStr = "<li name='price' data-addtab='7' url='ak/pricePlan.html' class='li'><span class='iconfont'>&#xe60a;</span><br/>运价方案";
				priceStr += "</li>";
				innerHtml +=priceStr;
			</#if>

		
			<#if resList?seq_contains("system")>
				var systemStr = "<li name='system' class='li liMenu'><span class='iconfont'>&#xe6b5;</span><br/>系统管理<div class='menu_ menuSys' id='sys'><ul>";
				<#if resList?seq_contains("ak/userManage.html")>
					systemStr += "<li data-addtab='14' url='ak/userManage.html'>用户管理</li>"
				</#if>
				<#if resList?seq_contains("ak/roleManage.html")>
					systemStr += '<li data-addtab="15" url="ak/roleManage.html">角色管理</li>'
				</#if>
				<#if resList?seq_contains("ak/resourceManage.html")>
					systemStr += '<li data-addtab="16" url="ak/resourceManage.html">资源管理</li>'
				</#if>
				<#if resList?seq_contains("ak/flightPlanChangeLog.html")>
					systemStr += '<li data-addtab="17" url="ak/flightPlanChangeLog.html">航班计划修改记录查询</li>'
				</#if>
				<#if resList?seq_contains("ak/airportMaintaince.html")>
				systemStr += '<li data-addtab="18" url="ak/airportMaintaince.html">机场维护</li>'
				</#if>
				<#if resList?seq_contains("ak/aircraftMaintaince.html")>
					systemStr += '<li data-addtab="19" url="ak/aircraftMaintaince.html">机型维护</li>'
				</#if>
				systemStr += "</ul></div></li>";
				innerHtml +=systemStr;
			</#if>

			
			<#if resList?seq_contains("install")>
				var install = "<li name='install' class='li liSys'><span class='iconfont'>&#xe607;</span><br/>设置<div class='menu_ menuSet'><ul>";
				<#if resList?seq_contains("ak/personInfo.html")>
					install += "<li data-addtab='20' url='ak/personInfo.html'>个人信息</li>"
				</#if>
				<#if resList?seq_contains("ak/modifyPaw.html")>
					install += '<li data-addtab="21" url="ak/modifyPaw.html">密码修改</li>'
				</#if>
				
				install += "</ul></div></li>";
				innerHtml +=install;
			</#if>
			$(".LevelMenu_1_Ul").append(innerHtml);
		</script>
		<script type="text/javascript" src="js/echarts.js"></script>
		<script type="text/javascript" src="js/world.js"></script>
		<script type="text/javascript" src="js/macarons.js"></script> 		
		<script type="text/javascript" src="js/sockjs.min.js" ></script>
		<script type="text/javascript" src="js/stomp.min.js" ></script>
		<script type="text/javascript" src="js/frame_indexa.js" ></script>
	</body>
</html>
